package com.cn.demo4.thread.app;

public class TestPhone {
    public static void main(String[] args) {
        MyPhone myPhone = new MyPhone();
        Thread tb= new Thread(myPhone,"淘宝");
        Thread jd= new Thread(myPhone,"京东");
        Thread pdd= new Thread(myPhone,"拼多多");
        //开启线程
        tb.start();
        jd.start();
        pdd.start();
    }
}
